package com.wn.class30.entity;

import java.io.Serializable;

/**
 * aboutus
 * @author 
 */
public class Aboutus implements Serializable {
    private Integer aboutusId;

    /**
     * 关于我们描述
     */
    private String aboutusDesc;

    private static final long serialVersionUID = 1L;

    public Integer getAboutusId() {
        return aboutusId;
    }

    public void setAboutusId(Integer aboutusId) {
        this.aboutusId = aboutusId;
    }

    public String getAboutusDesc() {
        return aboutusDesc;
    }

    public void setAboutusDesc(String aboutusDesc) {
        this.aboutusDesc = aboutusDesc;
    }

    @Override
    public boolean equals(Object that) {
        if (this == that) {
            return true;
        }
        if (that == null) {
            return false;
        }
        if (getClass() != that.getClass()) {
            return false;
        }
        Aboutus other = (Aboutus) that;
        return (this.getAboutusId() == null ? other.getAboutusId() == null : this.getAboutusId().equals(other.getAboutusId()))
            && (this.getAboutusDesc() == null ? other.getAboutusDesc() == null : this.getAboutusDesc().equals(other.getAboutusDesc()));
    }

    @Override
    public int hashCode() {
        final int prime = 31;
        int result = 1;
        result = prime * result + ((getAboutusId() == null) ? 0 : getAboutusId().hashCode());
        result = prime * result + ((getAboutusDesc() == null) ? 0 : getAboutusDesc().hashCode());
        return result;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", aboutusId=").append(aboutusId);
        sb.append(", aboutusDesc=").append(aboutusDesc);
        sb.append(", serialVersionUID=").append(serialVersionUID);
        sb.append("]");
        return sb.toString();
    }
}